﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace WindowsFormMultiLang
{
    public partial class FrmLogin : Form
    {
        public FrmLogin()
        {
            InitializeComponent();
        }
        private void RdbCN_CheckedChanged(object sender, EventArgs e)
        {
            LanguageManager.Change("cn", this);
        }

        private void RdbEN_CheckedChanged(object sender, EventArgs e)
        {
            LanguageManager.Change("en", this);
        }

        private void BtnLogin_Click(object sender, EventArgs e)
        {
            new FrmMain().ShowDialog();
        }
    }
}
